$(function(){
	//删除文章
	$(".delete_article").click(function(){
		var id=$(this).attr("id");
		$.post(
		"/MyBlog/articleServlet",
		{"operation":"delete","articleId":id},
		function(data){
			location.href="/MyBlog/index.html"
		}
		);
	})
	
	    //进入创建文章页面
		$("#createArticle").click(function(){
			location.href="/MyBlog/articleServlet?operation=createPage"
		})
	
})